package com.dinnerwithfriends.client.dinner.invite;

import com.dinnerwithfriends.client.MainPage;
import com.dinnerwithfriends.client.authentication.facebook.FacebookAboutMe;
import com.dinnerwithfriends.client.authentication.facebook.FacebookFriends;
import com.dinnerwithfriends.client.authentication.facebook.sdk.FBCore;
import com.dinnerwithfriends.client.interests.ShowInterests;

public class InitializeDinner {

	public InitializeDinner(FBCore fbCore) {

		MainPage.mainPanel.clear();

		MainPage.mainPanel.add(new CreateDinner());

		new FacebookAboutMe(fbCore);

		new FacebookFriends(fbCore);

		MainPage.rightPanel.clear();

		MainPage.rightPanel.add(new ShowInterests());
	}
}
